import { HubSpotPromise, QueryParams } from '../types/Http';
import { CreateRowsResponse, FetchRowsResponse, Row, Schema, Table, FetchTablesResponse } from '../types/Hubdb';
export declare function fetchTables(accountId: number): HubSpotPromise<FetchTablesResponse>;
export declare function fetchTable(accountId: number, tableId: string): HubSpotPromise<Table>;
export declare function createTable(accountId: number, schema: Schema): HubSpotPromise<Table>;
export declare function updateTable(accountId: number, tableId: string, schema: Schema): HubSpotPromise<Table>;
export declare function publishTable(accountId: number, tableId: string): HubSpotPromise<Table>;
export declare function deleteTable(accountId: number, tableId: string): HubSpotPromise<void>;
export declare function createRows(accountId: number, tableId: string, rows: Array<Row>): HubSpotPromise<CreateRowsResponse>;
export declare function fetchRows(accountId: number, tableId: string, params?: QueryParams): HubSpotPromise<FetchRowsResponse>;
export declare function deleteRows(accountId: number, tableId: string, rowIds: Array<string>): HubSpotPromise<void>;
